#include "sled/sled_class/sled_class.h"
#define LOG_TAG "[SLED CLASS]"
__weak void sled_init(sled_class_t *class)
{
    logln_pos("SLED INIT CALLED");
}

__weak void sled_set_mode(sled_class_t *class, slde_mode_t sled_mode)
{
    class->WorkMode = sled_mode;
}

__weak slde_mode_t sled_get_mode(sled_class_t *class)
{
    return class->WorkMode;
}


__weak void sled_configure_pwm(sled_class_t *class, uint16_t duty)
{
    class->pwm_duty = duty;
}

__weak void sled_configure_breathe(sled_class_t *class, uint16_t breathe_speed)
{
    class->breathe_speed = breathe_speed+1;
}

__weak void sled_on_breathe(sled_class_t *class)
{

}

__weak void sled_on1(sled_class_t *class)
{

}

__weak void sled_on0(sled_class_t *class)
{

}

__weak void sled_off(sled_class_t *class)
{

}